﻿
using System;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;

namespace Entity
{
    [Table("wms_basic_storage_location")]
    public class StorageLocationEntity
    {
        [Key]
        public int location_id { get; set; }
        public int warehouse_id { get; set; }

        public string location_number { get; set; }
        public string location_name { get; set; }
        public decimal storage_location_capacity { get; set; }
        public int users_id { get; set; }
        public int sorting { get; set; }
        public int location_status { get; set; }
        public string warehouse_name { get; set; }
        public string note { get; set; }
        public string create_by { get; set; }
        public DateTime create_time { get; set; }
        public string update_by { get; set; }
        public DateTime update_time { get; set; }
        public int is_delete { get; set; }
    }
    public class StorageLocationAddDTO
    {
        public string location_number { get; set; }
        public string location_name { get; set; }
        public decimal storage_location_capacity { get; set; }
        public int users_id { get; set; }
        public int sorting { get; set; }
        public int location_status { get; set; }
        public string note { get; set; }
    }
    
}